<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
    // var date = new Date();
    window.onload = function () { 
      
      var p1 = new Person("abc",23);
      var p2 = new Person("123",45);
      console.log(p1.instroduce === p2.instroduce);
      console.log(p1.hello === p2.hello);
    }
    // date.getFullYear();  
    function Person(name,age){
      this.name = name;
      this.age = age;
      this.hello = function(){
        
      }    
    }

    var Student = Object.create(Person);
    Student.prototype.study = function(){

    }
    Student.class= ""
    Person.prototype.instroduce=function(){

    }
  </script>
</body>
</html>